package com.schoolMall.dto;

import com.schoolMall.domain.ProductCategory;
import com.schoolMall.enums.ProductCategoryStateEnum;

import java.util.List;

/**
 * @author:zyh
 * @Time:2021-08-31-21:51
 * @email:1269231889@qq.com
 */
public class ProductCategoryDto {
    private ProductCategoryStateEnum productCategoryStateEnum;
    private List<ProductCategory> productCategoryList;

    public ProductCategoryDto(){

    }
    public ProductCategoryDto(ProductCategoryStateEnum productCategoryStateEnum){
        this.productCategoryStateEnum =  productCategoryStateEnum;
    }

    public ProductCategoryDto(List<ProductCategory> productCategoryList,ProductCategoryStateEnum productCategoryStateEnum){
        this.productCategoryStateEnum = productCategoryStateEnum;
        this.productCategoryList = productCategoryList;
    }

    public ProductCategoryStateEnum getProductCategoryStateEnum() {
        return productCategoryStateEnum;
    }

    public void setProductCategoryStateEnum(ProductCategoryStateEnum productCategoryStateEnum) {
        this.productCategoryStateEnum = productCategoryStateEnum;
    }

    public List<ProductCategory> getProductCategoryList() {
        return productCategoryList;
    }

    public void setProductCategoryList(List<ProductCategory> productCategoryList) {
        this.productCategoryList = productCategoryList;
    }
}
